package base.quote;

public final class BeanB {

	private Integer id;
	
	private final Integer b;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getB() {
		return b;
	}
	
	public BeanB(Integer id,Integer b) {
		this.id = id;
		this.b = b;
	}
	
	public BeanB(Integer b) {
		this.b = b;
	}

	//重点在这
	public static BeanB changeB(Integer b) {
		return new BeanB(b);//重点
	}
	
}
